Repository navigation
v2.1.0: logs pelo SSH com chave travada - #2
Merged
Merged
Conversation
…cess segura o handle)
…st fixado); script de permissoes do pfSense; docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v2.1.0 — logs pelo SSH com chave travada
LogTransport = ssh): o servidor lê os arquivos de log direto do pfSense por posição em bytes. Coleta completa (inclusive firewall e autenticação), sem lacuna e quase sem peso no firewall.authorized_keys:restrict,from=<IP do servidor>e comando forçado com só 3 verbos (list,get,sig) sobre uma lista fixa de arquivos. Não abre terminal, não executa nada, não lê fora da lista..N,.bz2, pastaarquivo) pela assinatura da primeira linha: termina de ler o antigo e recomeça o novo, sem perder nem duplicar.suricata\LAN\alertas|bloqueios).pfsense/pfsense-backup-permissoes.sh: deixa os logs da lista legíveis só pelo grupo do usuário de backup.SchemaVersion3,ToolVersion2.1.0. Docs atualizadas.Testes: CI verde (parser PS 5.1, PSScriptAnalyzer, cenários de coleta SSH contra pfSense simulado, tentativas de burlar o comando forçado recusadas).